package com.pinapel.aixml.ui.actions;

import java.io.File;

import javax.swing.JFileChooser;
import javax.swing.JFrame;

/**
 * Abstract class enclose general actions from manage files in views
 * @date Apr. 30, 2012
 * @author  Francisco José Martínez López
 */
public abstract class GeneralActionToFile {
	JFrame jFrame;
	JFileChooser fileChooser;
	int option;
	/**
	 * @return the selected file
	 */
	public File getSelectedFile() {
		return fileChooser.getSelectedFile();
	}
	public int getOption (){
		return option;
	}
}
